import axios from '../request/http'

//post请求
export const postUrl=(url,params)=>{
    return axios.post(url,params)
}

//get请求
export const getUrl=(url,params)=>{
    return axios.get(url,params)
}

//get请求
export const getUrls=(url,params)=>{
    return axios.get(url,params)
}


//delete请求
export const deleteUrl=(url,params)=>{
    return axios.get(url,{params})
}

//delete新的请求
export const newDeleteUrl=(url,params)=>{
    return axios.get(url,{data:params})
}

//put请求
export const putUrl=(url,params)=>{
    return axios.put(url,params)
}